package com.dao.impl;

import com.dao.IShowUserDao;
import com.pojo.SUser;
import com.utils.JdbcUtils;

import java.util.List;

public class ShowUserDaoImpl implements IShowUserDao {

    //分页查询
    @Override
    public List<SUser> users() {
        return JdbcUtils.queryList(SUser.class,"select * from s_user");
    }

}
